Fixed non bash shells compatibility

See #14