Smarter handling of options. Fixed lib lookups. Add shared path to include path for ca65.