Set MSVC flag for release builds to work too.

Source: http://stackoverflow.com/questions/20800166/cmake-compile-with-mt-instead-of-md