Updates for gcc

Also included a makefile