Build script (not really needed since jdk 1.8 fixed issues)