fix build without totem-plparser

issue #52