made it build in gcc