Fix plugin loading on Windows