Automatically exclude platform-specific files for all targets

This way embedding applications don't have to do this themselves, as long as
they follow our naming conventions.