Make includes cross platform

This fixes include differences between linux and darwin.