Fixes for Arch Linux detection.

Pull request for issue #2.