Fix to allow gradle to compile build files