Adding <limits> so that this builds. Removed video related libraris from cmakelists.txt