fix vector and numerical real function compilation