Set correct platform defines for PellesC.
Use $(libcmt) rather than msvcrt.lib directly.

Also, set a correct value for $(libcmt) for PellesC.