Leaving if in src/ but out of build for now.
Remove warnings. Move windows specific code.
Unix domain tests still broken.