Misc fixes

1. Emit time taken for a build.
2. Java support for ignoring compiler warnings