Now the dice distribution is uniform between 0..5.
For that you have to use c++11 features.
Remember adding this variable:
"__GXX_EXPERIMENTAL_CXX0X__" with no value.