[gc525] more compile fixes