remove snap reference in build