Cross-platform SDL/Nim skeleton