Build with -fPIC to allow integration into shared object.