Portability shim for GNU