Fixing build errors for Nancy template