fix wrong regexp for linux 32 and require pathname