Fix Rakefile and remove build.sh