fixes for compilers