modified to build SDL library correctly