Update util.cpp

Added <unistd.h> include

Fixes for gcc 4.7
http://gcc.gnu.org/gcc-4.7/changes.html

My full error output here:
https://gist.github.com/moriarty/7648386

Also submitted this patch request to master branch, but I have only been using eigen3 branch.