Fix problems to find commands like gradle