Build: Use BAKGE_STATIC definition for static builds