Fixed netbeans package to properly clean up after itself