fix terrain creation on linux

use std:: prefix for abs, pow
ensure that drawing of (transparent) water after base terrain

use map and std::less implementation for TileID instead of unordered_map.
So transparent layers have to have the highest levels.
Discard water fragments below the corresponding base terrain tile