fix problems with old_define (deprecated)
modified default cfg for datomic