General purpose linux build script