Make sure we check everything at compile-time, fix warnings
Fix javah by explicitly providing scala-lib in classpath