Added configure checks for trust router code
Fix typo