fix(btrfs): build btrfs based on platform

fixes #739