Removed old forward declaration

Also added log message when failing to load plugin library