Fixed release directory issue for win32.