Fixed Windows build so it works in Netbeans again