Add some workaround to build different package without multiple branches