fixed issue with static object calls, created separate config files for windows and mac