Fixes issue with building on Windows