Fix @VERSION@ tag not being replaced on compiling