Fix unknown pragma warnings
Merge pull request #825 from Rapptz/master

Suppress warnings from building with MinGW