* fixes for building for Windows with configure and make * makefile fixes for building in separate directory