Fix compile warnings
Correct fix for export type error
Merge pull request #1 from reachfh/compile-warnings

Fix compile warnings