Include unistd.h to compile on g++ version 4.7+
Merge pull request #38 from Metaswitch/gcc-4.7-support

Reviewer Jim - Include unistd.h to compile on g++ version 4.7+