ramsmp: Fixed up cross compiling
Use ${CROSS}ldconfig if it is available