introduced cmake option for building python lib