replace import lib with python 2.6 compatible command

replace import lib with python 2.6 compatible command