Change dev mode from a compile time setting to a configurable one.