Fixed build for windows systems