Fix OS dependencies