Portability shim for GNU

and add Portable.h include to Config.cpp