Include necessary header files to get compilation on OSX