scatterplot library needs to be -fPIC