fixes for byref/array type names when linked gh-80