Added missing library flags for some systems based in fedora