build .a libs with -fPIC, might fix demo?