Support building against the Apple JDK

The Apple JDK puts the classes normally found in tools.jar within
classes.jar in a different directory.  Add a separate build profile for
os x.