LPS-50254 Allow for other macrodefs that call compile-java to not have module.dir required