configure: avoid 'AS_CASE' for compatibility

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>