fix filenames for RIM build