Don't install the Java shmem tools if we aren't building Java support. Thanks to Paul Hargrove for noticing.