updates to kernelbuild, made it more universal