Fix build parameters for mongoid 2.x line