Add missing includes

Fixes compilation with musl libc
Merge pull request #213 from doughdemon/master

Add missing includes