PhantomJS missing header files


I am trying to compile phantomjs 1.9.2 from source on Linux. When I start building it, I encounter missing header files errors. eg: wayland-client.h etc., Can any one point me to complete bundle of phantomjs 1.9.2 source code where all the header files are in place.
Link to the source code I downloaded: