Add implementation for linux.