fix a couple ccall types, compile hints