Include cstdlib and add std:: in MbRandom.cpp