Small bugfix in model compile script