Cygwin patch. And replaced '-std=c99' with '-std=gnu99'
Replaced '/usr' with '${CMAKE_INSTALL_PREFIX}'