add support for multi folder build