minor fixes
build fixes
ARM auto hotplug by Will Tilsdale

Signed-off-by: David Savage <bedalus@gmail.com>