Windows fixes for headless operation
Windows fix for Makefile.am