Fix 2.6.32 compiler errors

Fix compiler errors found when building on ancient 2.6.32 system.

Changes since v2:

Fix inotify error using compat.h

Changes since v1:

Added missing #include of config.h in ioctls/vhost.c

Signed-off-by: Brian Haley <brian.haley@hp.com>