Fix native library compilation target to remove absolute paths