Make the ugly fix for rhino a little bit uglier, but makes build on linux works