Applied and added .diff file. Gem compiles now, on Smartos at least.