Fixed BUILD_PLUGINS usage