add -fPIC to CFLAGS, remove private path from tests