cmake: fix nasm sources build when building in a separate directory