Making it work in MSVC 12.0/2013