Java: Minor cleanup to Makefile

Correct list of phony targets and reorder targets.