Implemented toStrict to fix a compilation problem on Debian 7.2