CA-119833: snapwatchd fails to link on some systems
CA-119833: snapwatchd fails to link on some systems

snapwatchd fails to link a shared .so with -shared:

  /usr/bin/ld: xslib.o: relocation R_X86_64_32 against `.rodata.str1.1'
  can not be used when making a shared object
  xslib.o: could not read symbols: Bad value

We need to explicitly compile our objects as position-independent
code with -fPIC

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Acked-by: Germano Percossi <germano.percossi@citrix.com>

GitHub: closes #49 on xapi-project/sm

xapi-project/sm,siddharthv/sm,xapi-project/sm,chandrikas/sm,BobBall/sm,malcolmcrossley/sm,pritha-srivastava/sm,djs55/sm,germanop/sm,xapi-project/sm,chandrikas/sm,chandrikas/sm,BobBall/sm,kostaslamda/sm,geosharath/sm,djs55/sm,germanop/sm,kostaslamda/sm,robertbreker/sm,pritha-srivastava/sm,geosharath/sm,siddharthv/sm,pritha-srivastava/sm,martinjorge/sm,martinjorge/sm,martinjorge/sm,siddharthv/sm,malcolmcrossley/sm,BobBall/sm,robertbreker/sm,djs55/sm,malcolmcrossley/sm,robertbreker/sm,kostaslamda/sm,geosharath/sm,germanop/sm