Fix #985. Allow check/jmx on source install