Adjust build file for earlier JREs