Add '#ifdef USE_LIBPQ' around the code which use PreferLibpq option
introduced in the previous commit.
Remove the code to register XADLL from pgenlist(a) and register the
dll on installation.