Changed build script for automatic compiling of jar