Added targer version to the javac in order to be compatible with major.minor version 51.0