ack: try to fix interaction of customized CXX and cross compiling
first crack at debian jessie support