Fixed minor problems which one might face on the old compilers