Tracks 2.x compatibility update

Updated project build files a bit, and fixed compatibility with recent versions of Tracks.