Fixed issues building non-ATS stylesheets.