Added Linux target
Changed scopedpointer assignments