Set javac target to 1.7 instead of 1.8 for compatibility