Fix system lib path in cmake file
Respect inheritance hierarchy when concatenating PHP files

This fixes irregular errors about MongoException or MongoCursorException being undefined.
Merge pull request #59 from 10gen-labs/fix-makefile

Fix PHP concatenation and path to system lib