fix to build on fedora 18, author: Bryan Call