fixes issue #19 and allows for building on Ubuntu 12.04 LTS