support building without mysql, or without postgresql