fix build stuff permissions