WIP: Get --as-needed working correctly
- tidyup mess with NSS libraries
- tidyup similar mess with qpid-ptoron library
WIP: Make library dependencies clearer in build system
WIP: Simplify windows/non windows checks
Merge remote-tracking branch build_library_work into github/build_library_work