Bugfix for invalid libdir in fedora build