Fix to not use c99 std