mac_address.hpp: format the style
build_test.sh: display compiler version
layer2_switch: don't use const reference in std::map

It is not recommended using const& of the second template parameter of std::map
To solve this problem now use std::ref() and std::reference_wrapper.
This may be the best way.