Fix a Mac OS X 10.8.5 compilation problem.
Add some header files required by CutyCapt's build