Requested changes.
Improve error handling on fetching git source code.
Rename hwloc2 to hwloc for eventual building of version 3.
Make the cmake function a bundled only function.
Remove code for non-existant static-link feature.
Remove version_compare dependency.
Add pkgconfig function and use it.
Redo the code for determining source_version for bundled.
Redo the if statement for cmake bundled.
Try to make the extern_c_block correct for bundled and non-bundled on windows.
Remove hwloc from gitignore.