added conditional compilation for Snapworld