common: enable nasty pthread hack