Fixed lack of #ifdef.