sml: fix clang 3.1 warnings