Fix non windows platforms.