Updated Netbeans project build for compatibillity