Fixed WP8 cocos library project and profiling macros

* Fixed WP8 cocos library project
* Fixed profiling macros