Preserve mode while compiling binary files.