Building permits in Canada rebound