Minor fixes in order to compile with newer NewRelic library