make it compile on gcc