Only remove the app generated by console in output directory.

Here is a problem: When building project for iOS/Mac, if there is another app in the output directory (not related with the project), it will be removed.