Fix movit build for Linux and OS X.