Fix rebuild command