better support for configuration with gcc