Fundamental group in o-minimal structures with definable Skolem functions