Fix gcc 4.7 and add a newer boost.
Merge pull request #207 from ahmedcharles/gcc

Fix gcc 4.7 and add a newer boost.