Use $(RM) instead of explicit rm invocation

Reviewed by @mgeier