Small as watchtowers, imposing as fortresses and batteries. Along the coast, military works tell of a not-so-distant past.