Using both -std=c++11 and a compiler understanding it for dependencies