Attempting to get the original code to compile in Debian