Fix python27 on Mavericks