more fixes.. still some .so library not found error. gotta investigate.