Make Server module compilable on Linux, also implement volume handling on Linux

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