Last attempt at making this work with Windows.