Merge pull request #3729 from fichter/master

Fix build error when flatc binary is missing in path.