fix rake package task
fix Rakefile to check for the existence of an executable