Fix: check for mbstring

resolves #491