Fixed build issues: -fPIC is removed as it is the default, _snprintf define is removed on MINGW (port_win.cc)