[gcc] Use commonprefix() from winix