Include cstdlib and fix warning about '&'