Add some missing <cstdlib> includes

These are for OSX