Fix build due to SNAP changes (pull request #16 in beam)