Moved build task from Makefile to Rakefile