Added include guards to stop libraries being included multiple if the same project uses find_package(...) more than once which was causing an error.