tailor ADD_CUSTOM_COMMAND to target platform
move install instructions to the end of file