if defined variable

Signed-off-by: Thejasvi Bhat <thejasvi@smashed.in>