Workaround for LSOpenURLsWithRole error on Mac