nightly build fixes

These patches move the UML build up to kernel 3.5 from 2.6.26, and fix a number of -Werror and 32-bit compilation issues.