w32pthread: help compiler figure out undeeded code