"do_octets" label is needed independently of Ascend binary

Signed-off-by: Julius Plenz <plenz@cis.fu-berlin.de>
i_flag is only known if HAVE_REGEX is defined

Signed-off-by: Julius Plenz <plenz@cis.fu-berlin.de>
Merge pull request #807 from Feh/3.0.4rc2-compile-fixes

3.0.4rc2 compile fixes