Add version blocks for msvc, mingw, mingw64, ios, ios_simulator, osx. Reintroduce 'unknown version warning'. Closes #557