got rid of all linux specific code