Corrected error with building in gcc. Added sliding window minimum.