build library libgrid_creation.so, not tested