Is there an option to bypass the RC of 4 during a compile?
You can use the SET COMPILE ADV NO command which will suppress any advisory messages and the associated Return Code of 4.
For information on the various options you can use with SET COMPILE command, see the deal Command Reference Guide under Set Compile Command.