Fixes comparisons for POSIX standard dash/sh