Make DSO_EXPORTS_CMD regexp more POSIX compliant