BNPH-353: avoid adding linker flags as make targets