update libsquish to 1.11
fix osx build
fix pointer->int truncation crash in slopes on osx