qt48: fix impurity on darwin.
Close #982.