add c++11 random library support

1. add C++11 random library.

2. fix wp8 cpp-tests compile error