Revert "Remove functions to find longest track"

This reverts commit cde969a24e2a618139bf9c053759bb68072f41bb.
Revert "Only build DVD drive tools on Linux"

This reverts commit 6e3455209e962cac46897faae22ddd008de08909.