Fix test for older GHC versions
Fix test for older GHC versions

GHC versions 7.8 and 7.10 seem unable to infer the correct string type,
even though it's clear from the surrounding code.

tarleb/hslua,osa1/hslua,osa1/hslua