fix the gcc build