fix bat files for building application