Fix CWD plugin loading.