fix test_static_link for the case where spidermonkey shell is not in JS_ENGINES