replace/wscript: define bool to int instead of off_t