added linker_shared option to platform

for switch to use when linking components as shared libraries. Works
around gcc's -l behaviour