Handle if java is not available, allow custom path/build file for CPPHelper.rebuild