This should allow for a `make javadoc` command, among other things. Revert if it breaks compatability with OS X.