Fix typo that prevented PT from being installed. Also remove -Wall warnings.