Fix classpath issues in exported plugin