Better printing of dynlink errors in native compiler.