Bugfix for the advanced compilation of weapp