fix build failure when snappy is not installed
Merge branch 'refine_platform_implementations' of https://github.com/manuzhang/nativetask into refine_platform_implementations