Fixes gcc build