Exclude platform specific files when prepare command is executed