Fix for macosx directory structure

This fixes the directory structure change on macosx, I also had to change the javaOptions to use map as apply was no longer compiling when using sbt 0.12.  If I need to fix/cleanup anything let me know, don't have a lot of experience with plugin development on sbt.