portability: use cc instead of gcc in tests