stupid bug in checking conditions for old compilers