Add a dependency of general library directory.
Reorder dependency of touchscreen & mouse state.