fec: enable building on Mac

Enable the host libfec and the fec tool to be built on Mac with the
help of <utils/Compat.h>.

Change-Id: I5e7c9fac11f4a00814bad92734e703ec8dc22dc9
6 files changed