Fixed build bug with XS addin