Use std::mt19937 instead of included Mersenne Twister algo when compiling with C++11
Fixed random seed with std::mt19937
Fixed compilation warning