Fix syntax errors in theme-compatibility.php. Fixes #50

This was only revealed when a Page was created with the same name as
the root permalink slug.