adjusting build file to package correctly the jar file