Fix undefined errors for typeMapCompatible

Build the compatible type map once these service constructor are available

Jira-issue: WP-1045