Modified all variables defined inside headers to 'extern'.