fixed Makefile for fm-index to build against shared libraries instead of allowing for a system level choice as this causes problems linking against math.h, so added the -shared flag to CFLAGS