Enabled C++11 for gcc (linux build).
Fixed uninitialized values.