It's annoying for Windows users working without a Unix-like environment that they need to edit an included file, win32/common, by hand to match their own installations. This file is under revision control and is distributed with the source code, so it is easy to lose one's changes.
Some script similar to configure ought to generate this file. The script could add some guessing logic for finding the available libpq installations, e.g. by calling pg_config if it is available or as a backup strategy, searching the system for instances of the required header and library files. It could also print instructions for obtaining and installing these files if needed.