Make PeTrack compile under MSVC

There currently are two errors when trying to compile PeTrack with MSVC. They should be fixed.

Edited by d.kilic