Fix module compiling errors for galaxy devices

:)
Merge pull request #4 from Black-Prince/jb-mr1

Fix module compiling errors for galaxy devices