One way: first remove vim (sudo apt-get remove vim).Then compile the program with "make checkinstall". Maybe you will have to install "checkinstall" first.
You will obtain a .deb file which you can install via dpkg.
Now the "vim" command should launch your compiled version.