Drop outdated definitions from internal.hpp

This also fixes few clang build errors
Drop template Vector class