fix makefile to only create symlinks to .so if one does not exist

otherwise re-compilation breaks
build shared objects for 32 bit machines