Fixed UnmanagedFunctionPointer generation code.