Do not include the waits_by_user_by_latency view within 5.5, it's required table does not exist there.
Guard the statements for the InnoDB buffer related views by version comments for 5.5.28 and above.