fixes for prefix detection, configure script detectio, ohai plugin updates
local variable fix