Fixed building on ubuntu

Fixes #6