minor compiler fixes