Avoid `require('vm')` if testing AMD.