clean up to px3.3, set some compiler flags