Add preferences plugin to build