playing with build stuff
fixed wierd segfault