Fix runtime references to 'require' when a require-prefix is in use (fixes github issue #16)