vim, macvim: fix and test python linking.

Closes #32056.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
ruby-build 20140905

Closes #32113.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>