switch g++ parameters to release