Adapt literal sql to older versions of DBIx::Class

the previous version failed on the debian version (0.08196)