Added MSVC optimisation support to cmake file