Most vexing parse plus reference build error