2013-04-25 commits

1. move zigbee codes to libraries folder and remove it from core library
2. fix not building in linux
3. modified mac os x build