Enable testing for Linux gcc

Changes to make the testing compatible with a Linux gcc environment.