build shared library before nosetests
Merge pull request #1 from tpeng/fix-buildbot

build shared library before nosetests