Make squash a library