Getting an error compiling program on Ubuntu (GH actions)