Modify to compile with -g option