Updated switch rakefile to generate different target build tasks