Avoid perl undef warning when compile=0