-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header `version`.
Fixes #1051, mosh fails to build on case-insensitive filesystems. XXX This isn't perfect because autoconf/automake drop several extra files in the directory anyway.