missing include and link flags are added.