Add extern keyword to headers