some changes to custom building python and getting virtualenv