Fixed makefile for ubuntu gcc