Fixed small build problems on Windows.