Modified to compile with the standard Theos installation.

Made it compile with the standard version of Theos. (not just
rpetrich's fork.