Fixes for Windows

Due to the use of C++11 features MSVC-2013 is required.