* PythonPackage: check purelib for libs/headers * Update error messages too * Fix functools.reduce argument order