Compile error, fixes issue #40