Solved by Vlad_Dumitru in post #3 
              
              
                Yes I did, so far as I understood it was because of some flags for whatever reason. If I am running the fallowing command everything is working properly. 
BUILD_BINARY=1 USE_EIGEN_THREADPOOL=1 USE_CUDA=0 PARALLEL_BACKEND=NATIVE_TBB USE_OPENMP=0 USE_TBB=1 MKL_THREADING=TBB BLAS=MKL USE_MKLDNN=1 MKLDN…