modernization: should now compile on debian x86