minor fix at compilation process, to support 'example/simple'