define TERM and LD_LIBRARY_PATH
wrap some options in check vim version