BLD: fix for rules producing jar files