Only build main program on release.