Fix Conditional Compilation bug for FEATURE_BEEPER

One call is outside test compilation - generate error if FEATURE_BEEPER
= 0
Include call in compilation condition