Ensure realpath and gawk are installed

realpath is required for patching linux and gawk is required for the build