Adding gnu compiler build setup in Makefiles