loader: fix for 3rd party plugins that don't call "define"