Fix up to work on Apple.