define mac-p linux-p windows-p for compatibility

make it globally, and when need to judge the platform, just use them.

ps: el-get wastes me al least 2 hours to download the plugins, so maybe we could try 'package for >= emacs24.1.