[Build] Restored BeforeClean target to delete generated files as it causes issues only when Visual Studio 'Rebuild' command is used.