handle different builds