Fixed bad #ifdef location