Fix build errors of ruby193scl-wrappers

see individual commits