Removed extraneous "extern", causing linking failures on Windows