reduced compile warnings
changed link vpvl2 after calling vpvl2_link_all to resolve link order