add cruft to SConstruct to help cross-compiling with readline