Change erlydtl call to work with old and new releases

Old function call was removed in https://github.com/erlydtl/erlydtl/commit/aa237513750eb926c0325d2fbb18e0b584b5d2dc. Replaced call is available in old and current versions.