Trying to make snake work with old solaris g++