Adaptations to run on Windows (Visual Studio 2013)