compile hello world with g++