Fix module compiling errors for galaxy devices

:)