Fixed error with program not starting after build