make compatible with fedora17