FL-926: fix atom stage building