Fixed redundant MAX_PLUGINS definition