Derivations on o-minimal fields