Updated build properties to current JDK version and added the explicit
declaration for the Mac