Added another few lines required for compilation on a normal ubuntu system