conftest: Fix hook constructor resolution via dlsym()