Fix for browser on mavericks

Closes #1266

@tgoyne @jpsim @GreatApe