Better BSD detection.