Command line to prepare system for building Sierra XNU.
Open up Terminal and drag the build.sh file onto the Terminal window and press Enter. It'll ask for the password to perform the Sudo function.
Once it's done the System will have the required dependencies to build the XNU.
Libdispatch from here, https://github.com/Proteas/install_firehose_lib