Fix plugins_enabled and java_enabled options