Use #if instead of #ifdef for version checks
Strong/Choice instances for Mealy