move the unix platform dependencies out of the src dir