added chmod to build directory