Add closing -Wl,-no-whole-archive directive to shared object build target