fix build errors, display 'not implemented' message on win32/linux

fix issue #277   (build broken)