Fix compile error with git HEAD.
Merge pull request #53 from quickfur/static_slice

Fix compile error with git HEAD.