Fixed removing hidden files in a build tree

Change-Id: I9378a85318f0fa6da84dc6343ce1d7f5e253c028
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>