Fix issue #112, loading plugins