Fix the stripping of the python libs version string where subsequent numbers after 'rc' (release candidate) were not matched correctly. 3.5.3rc1 would be stripped to 3.5.31, where it should be 3.5.3
Fix the stripping of the python libs version string where subsequent numbers after 'rc' (release candidate) were not matched correctly. 3.5.3rc1 would be stripped to 3.5.31, where it should be 3.5.3