Fix for issue #29

I am too lazy to compile libsmfm under Fedora, so, please, check before approval :)