build: define sdk_libdir, sdk_includedir

Detect architecture and select appropriate SDK directories.