Fix Windows start-up issue

Fixed #270