Windows base path fix

This change should fix the base path issue on windows