Try /usr/local before /opt/local on Mac OS X.

This makes it possible to build against a brew-installed libusb.
Make Java-dependent targets optional and disabled by default.

Also rework, comment and cleanup the top-level Makefile.