Fix: GNU/Linux build and remove unused variable