compile fixes for GCC/Linux