Cleanup unused code
TargetPlatform now takes care of breaking up links for macosx