Disable read-only check for libraries and examples.