CA-136792: guard compiler.h

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>