some change to get project working on cygwin on my windows 7