Various configure and Makefile changes for MinGW (gps).