Fixed issue with COMPILE_TARGET property

In comparing the rakefile to the reference one in the StarterTree project,
noticed that the COMPILE_TARGET property was in there twice, the first
with the old logic for setting it to Debug if left blank. This logic has
been moved. Removed the first entry.