make tomahawk compile on windows again