Add cross-compiling checks
Add library checks