better linux/g++ support