update cakefile

comet incorrect platform detect.
'process.platform' on OS X is **darwin**, on windows is **win32** or **win64**