Support the "-rm" parameter for the build method

Title says all :)
There doesn't seem to be a difficulty here - maybe I'm missing something?

Thanks!