Updated rakefile to fix bug in compile_target

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