make emscripten_sleep error a runtime thing, to avoid build errors on including the full library
update test_static_link
avoid some warnings on missing settings