set_basename - move comments inside ifdef