Fix error on first build