Fixed make-a-java-proj so it will work with ruby 1.8.7