Modified to work with our unusual Fedora setup.