Fix SelectApiVersion() when fdb 2.0.x is installed