add PLATFORM preprocess thing