archiveopteryx: override specific build settings instead of PREFIX
Closes #13708 and fixes #13707.
(cherry picked from commit 5ac1de516e3de6e036a079bcdc4fe949ac3d3d0a)
Closes #13805.
authored by Hoang Xuan Phu and committed by Vladimír Čunát 6fa68be9 6377a295