Fix build-vim script

It incorrectly assumed that dynamic build was requested always.