Force code to compile in a portable class library