Fix generating version.h in parallel make builds (make -jX)

Review at https://rbcommons.com/s/OpenH264/r/697/.