- Use release compiler flags for debug builds of third party libraries.
- Fixed a few flags for Visual Studio compilation.