Add not_if guard around JavaForOSX package install