Fix seperate /usr partition boot and fix some compilation issues.