added ENABLE_PLUGINS definition detection