Adds -lstdc++ to required flags