remove fPIC for windows to avoid warning
added workaround for mingw not supporting std::to_string
fix windows directory separator in Makefile