Fixed CLI error while adding amazon-fireos platform.