Fixes for Xcode 5 and OSX 10.9.

kernel.mk: Put elf.h into the include path on Darwin builds.

Change-Id: I7b7dc538678870ff81d206b4123d691dfdd59d6b