fixed building on Windows