workaround MS VS2013 compiler bugs about using typedef-ed type after single-line if-statement
ignore build dir
use python 2.7 and only build shared lib