Fix movit build on Linux and OS X.