Fix build time dependency to dashboard plugin