Factor code used for constructing -lupc* link option