Merge pull request #48 from shenki/update-pore

Fixes for building on Ubuntu 14.10