include cstdlib for std::abs() for Emscripten #2

See #388 for details