Fix SNAPSHOP compile