build: apply_profile: support for Ubiquiti Nanostation loco M2/M5