Shared: Make module compilable on Linux

Signed-off-by: Frca <killerfrca@gmail.com>