Remove previously generated beams before installing new ones

At install phase in Makefile, remove previous installed ones before copying the new ones.