Fix bug #93:make images problem for cross compiler