Fixed an issue with building on Windows.