px4.c: safer portability fix (nw)