Revert "Removing repeated library groups and replacing it linker options"

This reverts commit 20077bcde052f07128808de8d01d2db47bd08e5d.