Fix build failure due to slightly different rmdir

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>