fixed incorrect conditional compile pragma