Fix linux build.
Merge branch 'getevent-defaults'