added CFLAGS=-fPIC to help ubuntu build