Fix the problem when gregtech is not installed