Compile ok

see issue #651 (now ok)