preprocessor hack to get off_t definition; clean up dead linker options