Using netbeans to build on Linux