Added -l/--clib option for specifying software libraries

Also added XBSVFLAGS to Makefile.common

Change-Id: Ia9799919de8bc170b1667692009f155e296425f0