Attempting to implement Windows support... there's gotta be a better way to do this