compile fixes for GCC