Casing fixes in ifdefs + removed TARGET setting in pro.