fixed build file to copy plugins to dist location