Add a new CFLAGS in code to enable and disable port code

On Linux platforms, this port is needed. On BSD things it is not the
case.