Updatd rakefile to fix bug in compile target

Previously, it would not read the compile_target correctly from the
settings file.

Also, removed artifacts from the build folder.