fix taking address of temporary, so no need -fpermissive anymore