fix install location for python lib
fix a warning
fix #172