relax build constraints and supress some warnings