Poco fixes for MinGW-w64, using cmake modules for windows builds