add #ifndef in order to local compile