mosh: add build-time check option