Switched to pragma once on headers

Switched to pragma once directive in the header files and added
experimental Cygwin compilation support.
Fixed an error in the Position.h header