Additional flags for libraries removed

These would have caused problems if the third-party libraries would have
been compiled on linux as they were Visual Studio flags.