Modify to compile with -g option and fixed genome.c/h warnings