Added sbt check and better error message
Temporarily disabled javaDoc generation due to some bug while compiling on Mac
Fixed syntax for clean to work on Mac sh