fix blocks support check for linux