Avoid build failure when rebuilding multiple times