compiling in gcc on Ubuntu 14.04