fix netbeans-generated makefile