fixed yesterdays fix for cross compiling: simply check the variable