add some fixes for systems missing gh

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>