Added fedora 18 and fix test builds for 17